<template>
    <div class="main1">
        <el-card>
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>学生意向</el-breadcrumb-item>
        </el-breadcrumb>
       </el-card>
        <el-card>
          <el-form :inline="true">
        <el-form-item><el-input placeholder="请输入学生名" v-model="keyword"></el-input></el-form-item>
        <el-form-item>
          <el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button>
        </el-form-item>     
      </el-form>
        </el-card>
        <el-card>
                 <el-table :data="tbData" style="width: 100%" v-loading="loading">
        <el-table-column type="selection" width="55"></el-table-column>
        <el-table-column label="学号" align="center" width="75">
        </el-table-column>
        <el-table-column label="姓名" align="center" property="course" width="150px">
        </el-table-column>
        <el-table-column label="班级" align="center" property="openTime" width="150px">
        </el-table-column>
        <el-table-column label="意向" align="center" property="endTime" width="150px">
        </el-table-column>
        <el-table-column label="填写时间" align="center" property="credits" width="150px">
        </el-table-column>
        <el-table-column label="操作"  align="center">
            <el-button size="mini" type="warning" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
            <el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
        </el-table-column>
      </el-table>
        </el-card> 
        <div class="block">
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage2"
      :page-sizes="[10, 20, 30, 40]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="17">
    </el-pagination>
  </div>
    </div>
    
</template>